package main.java.com.entity;



import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 套餐
 */

public class Setmeal implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;
    //分类id
    private Long category_id;
    //套餐名称
    private String name;
    //套餐价格
    private BigDecimal price;
    //状态 0:停用 1:启用
    private Integer status;
    //编码
    private String code;
    //描述信息
    private String description;
    //图片
    private String image;

    private Date create_time;

    private Date update_time;

    private Long create_User;

    private Long update_User;

    //是否删除
    private Integer isDeleted;

    private String categoryName; // 用于存储菜品分类名称

    public Setmeal() {
    }

    public Setmeal(Long id, Long category_id, String name, BigDecimal price, Integer status, String code, String description, String image, Date create_time, Date update_time, Long create_User, Long update_User, Integer isDeleted, String categoryName) {
        this.id = id;
        this.category_id = category_id;
        this.name = name;
        this.price = price;
        this.status = status;
        this.code = code;
        this.description = description;
        this.image = image;
        this.create_time = create_time;
        this.update_time = update_time;
        this.create_User = create_User;
        this.update_User = update_User;
        this.isDeleted = isDeleted;
        this.categoryName = categoryName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCategory_id() {
        return category_id;
    }

    public void setCategory_id(Long category_id) {
        this.category_id = category_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Long getCreate_User() {
        return create_User;
    }

    public void setCreate_User(Long create_User) {
        this.create_User = create_User;
    }

    public Long getUpdate_User() {
        return update_User;
    }

    public void setUpdate_User(Long update_User) {
        this.update_User = update_User;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
}
